#ifndef XML_LOADER_H
#define XML_LOADER_H

#include <string>
#include "DebugTracer.h"
#include "TrackNode.h"
#include "tinyxml.h"

class App;
class Track;
class Jet;
class XML_Loader
{
    public:
        XML_Loader();
        virtual ~XML_Loader();
        static void LoadFromXmlFile(Track* track, const std::string& filename);
        static void SaveTrack(Track* track, const std::string& filename);
        static void LoadGameSettings(App* app, const std::string& filename);
        static void SaveGameSettings(App* app, const std::string& filename);
        static bool LoadJetFromXmlFile(Jet* jet, std::string const& filename, std::string const& jet_name);
    protected:
    private:
};

#endif // XML_LOADER_H
